cmake_minimum_required( VERSION 3.0 )
project(engine-master)

if(CMAKE_SYSTEM_NAME MATCHES "Linux")
    message(STATUS $ENV{LD_LIBRARY_PATH})
    message(STATUS $ENV{CPLUS_INCLUDE_PATH})

string(REPLACE ":" ";" OS_LIBRARY_DIRS $ENV{LD_LIBRARY_PATH})
link_directories( ${OS_LIBRARY_DIRS})

    string(REPLACE ":" ";" OS_CPLUS_INCLUDE_PATH $ENV{CPLUS_INCLUDE_PATH})
    include_directories( ${OS_CPLUS_INCLUDE_PATH})
endif()

add_subdirectory(zmq_messenger)
add_subdirectory(messagehandler)
add_subdirectory(master_app)
